package com.hskn.hss.module.tlresplan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.hskn.hss.module.tlcartype.entity.TlCarType;
import com.hskn.hss.module.tlemergentplan.entity.TlEmergentPlan;
import com.hskn.hss.module.tlresplanitem.entity.TlEmergentResplanItem;
import com.hskn.hss.module.tlworktype.entity.TlWorkType;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *
 * </p>
 *
 * @author hskn
 * @since 2021-05-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class TlEmergentResplan implements Serializable {

    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;
    @TableField(exist = false)
    private String ids;
    /**
     * 预案名称
     */
    private String resplanname;

    /**
     * 应急类型
     */
    private String emergenttypeid;
    @TableField(exist = false)
    private String emergenttype;

    /**
     * 预案等级
     */
    private String emergentlevelid;

    /**
     * 颜色
     */
    @TableField(exist = false)
    private String color;

    /**
     * 响应时长分钟
     */
    private Integer respondtime;

    /**
     * 处理时长
     */
    private Integer dealtime;

    /**
     * 备注
     */
    private String remark;

    /**
     * 状态 0停用 1启用
     */
    private String status;
    @TableField(exist = false)
    private Long size;
    @TableField(exist = false)
    private Long total;
    @TableField(exist = false)
    private Long current;
    @TableField(exist = false)
    private Long page;


    /**
     * 作业车辆要求
     */
    private String askcar;

    @TableField(exist = false)
    private List<TlEmergentResplanItem> cardateils;

    @TableField(exist = false)
    private List<TlEmergentResplanItem> empdateils;
    @TableField(exist = false)
    private List<TlCarType> tlCarTypes;
    @TableField(exist = false)
    private List<TlWorkType> tlWorkTypes;
    /**
     * 作业人员要求
     */
    private String askemp;

    private String createby;

    private Date createtime;

    private String updateby;

    private Date updatetime;

    private String deptid;

    @TableField(exist = false)
    private List<TlEmergentPlan> TlEmergentPlanList;
}
